package com.ifnk.portaljava.dapWeb.dao;

import com.ifnk.portaljava.dapWeb.pojo.UserAllowedIp;

import java.util.List;

public interface UserAllowedIpDao {

	public List<String> findByUserId(int userid);

	public void insertUserAllowedIp(UserAllowedIp userAllowedIp);

	public void updateUserAllowedIp(UserAllowedIp userAllowedIp);
	
	public void deleteUserAllowedIp(UserAllowedIp userAllowedIp);
	
	public UserAllowedIp findByIp(String ip);

	public void deleteByUserId(int id);

}
